<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>帖子详情</title>
  <script src="https://unpkg.com/@tailwindcss/browser@4"></script>
  <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css" rel="stylesheet">
  <style>
    body {
      font-family: 'Inter', sans-serif;
      background-color: #f4f4f9;
      padding: 20px;
    }

    .post-detail {
      background-color: white;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
      border-radius: 5px;
      padding: 20px;
    }

    .post-title {
      font-size: 24px;
      font-weight: bold;
      margin-bottom: 10px;
    }

    .post-meta {
      color: #666;
      font-size: 14px;
      margin-bottom: 10px;
    }

    .post-content {
      color: #333;
    }
  </style>
</head>
<body>
<div class="post-detail">
  <h3 class="post-title" th:text="${post.title}"></h3>
  <p class="post-meta">
   作者： <span th:text="${post.author}"></span>
    时间：<span th:text="${post.timestamp}"></span>
  </p>
  <p class="post-content" th:text="${post.content}"></p>
  
</div>
</body>
</html>